package cn.cs.pojo;
import java.io.Serializable;
import java.util.Date;

/***
*   
*/
public class OrderInvoice implements Serializable {
        //主键id
        private String id;
        //发票类型
        private String invoiceType;
        //发票内容
        private String invoiceContents;
        //发票金额
        private Double invoiceAmount;
        //申请发票日期
        private Date invoiceDateTime;
        //邮箱
        private String email;
        //创建时间
        private Date createdTime;
        //更新时间
        private Date updatedTime;
        //用户id
        private String userId;
        //发票类别"个人","企业"
        private String invoiceState;
        //订单id
        private String orderId;
        //申请发票id
        private String applyId;
        //发票抬头id
        private String titleId;
        //申请发票表
        private ApplyInvoice applyInvoice;
        //发票抬头表
        private InvoiceTitle invoiceTitle;
        //电话
        private String telephone;

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    //get set 方法
            public void setId (String  id){
                this.id=id;
            }
            public  String getId(){
                return this.id;
            }
            public void setInvoiceType (String  invoiceType){
                this.invoiceType=invoiceType;
            }
            public  String getInvoiceType(){
                return this.invoiceType;
            }
            public void setInvoiceContents (String  invoiceContents){
                this.invoiceContents=invoiceContents;
            }
            public  String getInvoiceContents(){
                return this.invoiceContents;
            }
            public void setInvoiceAmount (Double  invoiceAmount){
                this.invoiceAmount=invoiceAmount;
            }
            public  Double getInvoiceAmount(){
                return this.invoiceAmount;
            }
            public void setInvoiceDateTime (Date  invoiceDateTime){
                this.invoiceDateTime=invoiceDateTime;
            }
            public  Date getInvoiceDateTime(){
                return this.invoiceDateTime;
            }
            public void setEmail (String  email){
                this.email=email;
            }
            public  String getEmail(){
                return this.email;
            }
            public void setCreatedTime (Date  createdTime){
                this.createdTime=createdTime;
            }
            public  Date getCreatedTime(){
                return this.createdTime;
            }
            public void setUpdatedTime (Date  updatedTime){
                this.updatedTime=updatedTime;
            }
            public  Date getUpdatedTime(){
                return this.updatedTime;
            }
            public void setUserId (String  userId){
                this.userId=userId;
            }
            public  String getUserId(){
                return this.userId;
            }
            public void setInvoiceState (String  invoiceState){
                this.invoiceState=invoiceState;
            }
            public  String getInvoiceState(){
                return this.invoiceState;
            }
            public void setOrderId (String  orderId){
                this.orderId=orderId;
            }
            public  String getOrderId(){
                return this.orderId;
            }
            public void setApplyId (String  applyId){
                this.applyId=applyId;
            }
            public  String getApplyId(){
                return this.applyId;
            }
            public void setTitleId (String  titleId){
                this.titleId=titleId;
            }
            public  String getTitleId(){
                return this.titleId;
            }

            public ApplyInvoice getApplyInvoice() {
            return applyInvoice;
            }

            public void setApplyInvoice(ApplyInvoice applyInvoice) {
            this.applyInvoice = applyInvoice;
            }

            public InvoiceTitle getInvoiceTitle() {
            return invoiceTitle;
             }

            public void setInvoiceTitle(InvoiceTitle invoiceTitle) {
            this.invoiceTitle = invoiceTitle;
             }
}
